package com.yanmaohu.nikita.linker;

import com.yanmaohu.nikita.configuration.Configuration;
import com.yanmaohu.nikita.generator.Generator;

import java.io.File;
import java.util.List;

/**
 * @author Bright Lee
 */
public final class Linker {

    private final Generator generator;

    public Linker(Configuration configuration) {
        this.generator = new Generator(configuration);
    }

    public Configuration configuration() {
        return generator.configuration();
    }

    public void link(List<File> sourceCodeFileList) {
        generator.generate(sourceCodeFileList);
        // TODO
    }

}
